package com.yfp.client.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yfp.client.domain.ClientHealthLog;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 *
 * @description 针对表【client_health_log(客户健康餐饮记录)】的数据库操作Mapper
 * @createDate 2025-02-11 17:26:41
 * @Entity com.yfp.client.domain.ClientHealthLog
 */
public interface ClientHealthLogMapper extends BaseMapper<ClientHealthLog> {

    List<ClientHealthLog> selectByClientIdAndDate(@Param("clientId") String clientId, @Param("startTime") Date startTime, @Param("endTime") Date endTime);

    void updateStatusById(@Param("id") Long id, @Param("status") Integer status);

    void updateWeightById(@Param("id") Long id, @Param("weight") Integer weight);
}




